package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 2021/5/22
 * 15:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questions")
public class Questions implements Serializable {
    private ObjectId id;//主键id
    private String question;//题目内容
    private ObjectId wid;//问卷类型
}
